home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _603EB73B346249F3AA1029B0143A799F < prev    next >
Encoding:
Text File  |  2002-03-27  |  4.8 KB  |  271 lines

  1. {
  2.     \\ INGAME_JOIN MENU
  3.  
  4.     menuDef 
  5.     {
  6.         name            "ingame_objectives"
  7.         visible            0
  8.         fullScreen        0
  9.         rect            0 0 640 480
  10.         focusColor        1 .75 0 1
  11.         disablecolor    .12 .14 .08 .5
  12.  
  13.         onOpen
  14.         {
  15.         }
  16.  
  17.         onClose
  18.         {
  19.             exec    "ui_team 1";
  20.         }
  21.  
  22.         onESC
  23.         {
  24.             exec  "ui_team 1" ;
  25.         }
  26.  
  27.         ////////////////////////////////////////////////////////////////////////
  28.         //  Dialog frame
  29.         ////////////////////////////////////////////////////////////////////////
  30.  
  31.         itemDef
  32.         {
  33.             name        window
  34.             style        WINDOW_STYLE_SHADER
  35.             rect        130 70 380 350
  36.             background    "gfx/menus/ingame/background.png"
  37.             backcolor    1 1 1 1
  38.             visible        1
  39.             decoration
  40.         }
  41.  
  42.         itemDef
  43.         {
  44.             name        window
  45.             style        WINDOW_STYLE_SHADER
  46.             rect        124 65 8 8
  47.             background    "gfx/menus/ingame/frame_topleft.png"
  48.             visible        1
  49.             decoration
  50.         }
  51.  
  52.         itemDef
  53.         {
  54.             name        window
  55.             style        WINDOW_STYLE_SHADER
  56.             rect        130 65 380 8
  57.             background    "gfx/menus/ingame/frame_top.png"
  58.             visible        1
  59.             decoration
  60.         }
  61.  
  62.         itemDef
  63.         {
  64.             name        window
  65.             style        WINDOW_STYLE_SHADER
  66.             rect        510 65 8 8
  67.             background    "gfx/menus/ingame/frame_topright.png"
  68.             visible        1
  69.             decoration
  70.         }
  71.  
  72.         itemDef
  73.         {
  74.             name        window
  75.             style        WINDOW_STYLE_SHADER
  76.             rect        124 420 8 8
  77.             background    "gfx/menus/ingame/frame_bottomleft.png"
  78.             visible        1
  79.             decoration
  80.         }
  81.  
  82.         itemDef
  83.         {
  84.             name        window
  85.             style        WINDOW_STYLE_SHADER
  86.             rect        130 420 380 8
  87.             background    "gfx/menus/ingame/frame_bottom.png"
  88.             visible        1
  89.             decoration
  90.         }
  91.  
  92.         itemDef
  93.         {
  94.             name        window
  95.             style        WINDOW_STYLE_SHADER
  96.             rect        510 420 8 8
  97.             background    "gfx/menus/ingame/frame_bottomright.png"
  98.             visible        1
  99.             decoration
  100.         }
  101.  
  102.         itemDef
  103.         {
  104.             name        window
  105.             style        WINDOW_STYLE_SHADER
  106.             rect        510 70 8 350
  107.             background    "gfx/menus/ingame/frame_right.png"
  108.             visible        1
  109.             decoration
  110.         }
  111.  
  112.         itemDef
  113.         {
  114.             name        window
  115.             style        WINDOW_STYLE_SHADER
  116.             rect        124 70 8 350
  117.             background    "gfx/menus/ingame/frame_left.png"
  118.             visible        1
  119.             decoration
  120.         }
  121.  
  122.         ////////////////////////////////////////////////////////////////////////
  123.         //  Title
  124.         ////////////////////////////////////////////////////////////////////////
  125.         itemDef
  126.         {
  127.             style        WINDOW_STYLE_FILLED
  128.             rect        130 70 378 30
  129.             forecolor    0 0 0 1
  130.             backcolor    0 0 0 .25
  131.             visible        1
  132.             border        1
  133.             bordercolor    0 0 0 1
  134.  
  135.             textalignx    185
  136.             textaligny    5
  137.             textalign    1
  138.             textfont    "hud"
  139.             textscale    .54
  140.             text        "OBJECTIVES"
  141.         }
  142.  
  143.         itemDef
  144.         {
  145.             name        window
  146.             rect        150 110 340 160
  147.             textfont    "hud"
  148.             textscale    .6
  149.             forecolor    0 0 0 1
  150.             visible        1            
  151.  
  152.             ownerdraw    UI_GAMETYPE
  153.  
  154.             decoration
  155.         }
  156.  
  157.         itemDef
  158.         {
  159.             name        window
  160.             rect        150 135 340 160
  161.             textfont    "hud"
  162.             textscale    .43
  163.             forecolor    .12 .14 .08 1
  164.             visible        1
  165.             autowrapped
  166.  
  167.             cvar        "ui_info_objectives"
  168.  
  169.             decoration
  170.         }
  171.  
  172.         itemDef
  173.         {
  174.             rect        160 260 320 100
  175.  
  176.             ownerdraw    UI_OBJECTIVE_PHOTOS
  177.             textfont    "hud"
  178.             textscale    .40
  179.             forecolor    0 0 0 1
  180.             decoration
  181.             visible        1
  182.         }
  183.  
  184.         ///////////////////////////////////////////////////////////////////////
  185.         // BUTTONS
  186.         ///////////////////////////////////////////////////////////////////////
  187.  
  188.         itemDef 
  189.         {
  190.             name        continue_button
  191.             text        "Continue"
  192.             textfont    "hud"
  193.             textscale    .43
  194.             type        ITEM_TYPE_BUTTON
  195.             style        WINDOW_STYLE_FILLED
  196.             rect        270 380 100 26
  197.             textalignx    20
  198.             textaligny    5
  199.             forecolor    0 0 0 1
  200.             backcolor    0 0 0 0
  201.             border        1
  202.             bordercolor    0 0 0 1
  203.             visible        1
  204.             
  205.             cvarTest    "ui_info_seenobjectives"
  206.             showCvar
  207.             {
  208.                 "0"
  209.             }
  210.  
  211.             action 
  212.             { 
  213.                 play        "sound/misc/menus/select.wav" ; 
  214.                 close        "ingame_objectives";
  215.             }
  216.             mouseEnter 
  217.             { 
  218.                 play "sound/misc/menus/hilite1.wav" ; 
  219.                 setitemcolor continue_button backcolor .12 .14 .08 1
  220.                 setitemcolor continue_button forecolor .49 .56 .27 1
  221.             }                 
  222.             mouseExit 
  223.             { 
  224.                 setitemcolor continue_button backcolor 0 0 0 0
  225.                 setitemcolor continue_button forecolor 0 0 0 1
  226.             }
  227.         }
  228.  
  229.         itemDef 
  230.         {
  231.             name        continue_button
  232.             text        "Done"
  233.             textfont    "hud"
  234.             textscale    .43
  235.             type        ITEM_TYPE_BUTTON
  236.             style        WINDOW_STYLE_FILLED
  237.             rect        270 380 100 26
  238.             textalignx    32
  239.             textaligny    5
  240.             forecolor    0 0 0 1
  241.             backcolor    0 0 0 0
  242.             border        1
  243.             bordercolor    0 0 0 1
  244.             visible        1
  245.             
  246.             cvarTest    "ui_info_seenobjectives"
  247.             showCvar
  248.             {
  249.                 "1"
  250.             }
  251.  
  252.             action 
  253.             { 
  254.                 play        "sound/misc/menus/select.wav" ; 
  255.                 close        "ingame_objectives";
  256.             }
  257.             mouseEnter 
  258.             { 
  259.                 play "sound/misc/menus/hilite1.wav" ; 
  260.                 setitemcolor continue_button backcolor .12 .14 .08 1
  261.                 setitemcolor continue_button forecolor .49 .56 .27 1
  262.             }                 
  263.             mouseExit 
  264.             { 
  265.                 setitemcolor continue_button backcolor 0 0 0 0
  266.                 setitemcolor continue_button forecolor 0 0 0 1
  267.             }
  268.         }
  269.     }
  270. }
  271.